package org.springframework.jdbc.core;

import java.sql.Connection;
import java.sql.SQLException;

import org.springframework.dao.DataAccessException;
import org.springframework.lang.Nullable;

@FunctionalInterface
public interface ConnectionCallback<T> {

	@Nullable
	T doInConnection(Connection con) throws SQLException, DataAccessException;

}
